﻿// /////////////////////////////////// 
//  
//  
//      WiseLink CCF2.0 
//     (c)Copyright 2001-2010 WiseLink Xiaojun (David) Chen 
//        Authored and Owned Xiaojun (David) Chen 
//        All Right Reserved
//  
// /////////////////////////////////// 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CCF20.Shared
{
    public static class RDSExtension
    {
        public static string GetColumnName(this string name)
        {
            
            if (name != null && name.LastIndexOf('.') > 0)
            {
                return name.Substring(name.LastIndexOf('.') + 1);
            }
            return name;
        }
    }
}
